using System;
using JoyfulHomeJourney.BackEnd.Infrastructure.EFCore;
using JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Requests.Objects;
namespace JoyfulHomeJourney.BackEnd.Server.Instances.Extends.Requests
{
	public static class EntityOnlineCustomerInfosCreateExtend
{
		public static OnlineCustomerInfos ToCreateEntity(this RequestOnlineCustomerInfosDto dto)
		{
			return new OnlineCustomerInfos
			{
				CiId = dto.id,
				CiContent = dto.content,
				CiSendMan = dto.sendMan,
				CiReceiveMan = dto.receiveMan,
			};
		}
	}
}
